package com.pai4j.remote.aigc;


import com.pai4j.common.bean.PAIResponseBean;
import com.pai4j.domain.dto.aigc.ChatCompletionMessageRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "pai4j-aigc-service", contextId = "llmChatClient")
public interface LLMChatClient {



    @PostMapping("/aigc-service/llm/chat")
    PAIResponseBean<String> chat(@RequestBody ChatCompletionMessageRequest chatCompletionMessage);


}
